package org.example.testone.service;

import org.example.testone.common.Result;
import org.example.testone.entity.WorkOrder;

public interface WorkOrderService {

    /**
     * 增加
     */
    public Result save(WorkOrder workOrder);

    /**
     * 修改
     */
    public Result update(WorkOrder workOrder);

    /**
     * 删除
     */
    public Result delete(int id);


    /**
     * 查询
     */
    public Result search(int offset, int pageSize);

    /**
     * 分派
     */
    public Result fenpai(int order_id, int dept_id);

}
